package com.gxitsky.service.impl;

import com.gxitsky.entity.User;
import com.gxitsky.service.HelloService;
import org.springframework.stereotype.Service;

import javax.jws.WebService;

/**
 * @author gxing
 * @desc 端点接口实现
 * @date 2021/2/26
 */
@Service
@WebService(name = "HelloMessageServer", targetNamespace = "http://tempuri.org",
        endpointInterface = "com.gxitsky.service.HelloService")
public class HelloServiceImpl implements HelloService {

    @Override
    public User helloMessageServer(String username, String password) {
        return new User(username, password);
    }
}
